package com.personal.service;


import com.personal.domain.Servicer;
import com.personal.util.partDisplay.ServicerPart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface ServiceService {


    List<Servicer> selectAll();

    List<ServicerPart> selectPartAll();

    List<ServicerPart> selectPartByKey(String name,String code);

    boolean add(Servicer service);

    Servicer getUpdateData(int id);
    boolean update(Servicer service);


    boolean delete(List<Integer> ids);
}
